home *** CD-ROM | disk | FTP | other *** search
- Path: news.ac.net!pacifier!not-for-mail
- From: superman@pacifier.com (Jeremy Lindeman)
- Newsgroups: comp.sys.cbm
- Subject: Re: chrout problem
- Date: 24 Mar 1996 09:49:23 GMT
- Organization: Pacifier, public access Internet site. 360-693-0325
- Message-ID: <4j35r4$8in@news.pacifier.com>
- References: <4iqgnh$i6n@driene.student.utwente.nl>
- NNTP-Posting-Host: pacifier.com
- X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
-
- Marco Lammers (beer@cal003109.student.utwente.nl) wrote:
- : I want to use kernal routine chrout $ffd2 on c64 to send characters to
- : the rs232 interface ( device #2).
- : that works fine, but the computer also always sents the same character to
- : the screen. Is there ay way to send only to the rs232 interface?
- :
-
-
- Being a Beginner Level Ml Programmer, maybe I can help?
-
- Try changing the Chkout, (the output director.) like this
-
- ldx #$xx -(change xx to 02 to change output to modem)
- jsr $ffc9 (chkout-to change flow of output to modem.)
-
- : then add your routine after this.
-
- Remember to return the above output back to screen when you need to.
- as this routine changes the output from the screen to your modem.
-
- To change the output back to the screen, just type:
-
- ldx #$xx (screen-do not remember the screen #)
- jsr $ffc9 (chkout)
-
-
- and it will change back to the screen.
-
- PS. someone know the screen device #?
-
- please post it.
-
-
-
- --
- ----------------------------------
- "smile, it does your body good. ^
- superman@pacifier.com ^
- ---------------------------------^
-
-